package com.buleqr.service;

import com.buleqr.dto.request.UserCouponCodeQuery;
import com.buleqr.dto.request.UserCouponCodeReq;
import com.buleqr.dto.response.UserCouponCodeVo;
import com.buleqr.pojo.AjaxResult;
import com.buleqr.pojo.PageList;

public interface IUserCouponCodeService {
    /**
     * @param req
     * @return 结果
     */
    AjaxResult add(UserCouponCodeReq req);

    /**
     * @param query 参数
     * @return 结果
     */
    PageList<UserCouponCodeVo> list(UserCouponCodeQuery query);
}
